package com.qianya.model.pojo.patient.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 患者档案
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PatientFilePlanInfo对象", description="患者档案")
public class PatientFileInfoPlanVO implements Serializable {
    private static final long serialVersionUID = 2351072318940334468L;
    @ApiModelProperty(value = "档案编号")
    @TableId(value = "file_id", type = IdType.UUID)
    private String fileId;

    @ApiModelProperty(value = "患者姓名")
    private String filePatientName;

    @ApiModelProperty(value = "患者年龄")
    private Integer filePatientAge;

    @ApiModelProperty(value = "是否服药（0是，1否）")
    private String filePatientDiagnosis;
    @ApiModelProperty(value = "性别（0女，1男）")
    private String filePatientGender;


    @ApiModelProperty(value = "血氧浓度")
    private String bloodOxygen;

    @ApiModelProperty(value = "心率")
    private String heartRate;

    @ApiModelProperty(value = "服药日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date fileAdmissionDate;

}
